﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SMTPDialog
{
    public partial class AuthOptions : Form
    {

        public string Domain
        {
            get { return domainText.Text; }
            set { domainText.Text = value; }
        }

        public string Username
        {
            get { return userText.Text; }
            set { userText.Text = value; }
        }

        public string Password
        {
            get { return passText.Text; }
            set { passText.Text = value; }
        }

        public AuthOptions()
        {
            InitializeComponent();
        }

        private void okButton_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
            Close();
        }

        private void cancelButton_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
            Close();
        }

    }
}
